-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Please format all report values to use ',' for thousands separator to make reading large values easier #3017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
is this still relevant ? |
It is still relevant. I would love to see locust properly format values in the webUI and reports.
…--Clint Hart
________________________________
From: Ori shalhon ***@***.***>
Sent: Friday, February 28, 2025 3:54 PM
To: locustio/locust ***@***.***>
Cc: Clint Hart ***@***.***>; Author ***@***.***>
Subject: Re: [locustio/locust] Please format all report values to use ',' for thousands separator to make reading large values easier (Issue #3017)
is this still relevant ?
I can implement it
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVLOHEMMUMCOLW5IWD32SDEJLAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGUZDQOJTGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
[OriShalhon]OriShalhon left a comment (locustio/locust#3017)<#3017 (comment)>
is this still relevant ?
I can implement it
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVLOHEMMUMCOLW5IWD32SDEJLAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGUZDQOJTGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Great, I am not familiar with this repository but it seems like a great way to familiarize myself with it , I will work on implementing it on my free time and will send here updates regarding how it looks . |
Great, thank you.
Clint
…________________________________
From: Ori shalhon ***@***.***>
Sent: Monday, March 3, 2025 10:13 AM
To: locustio/locust ***@***.***>
Cc: Clint Hart ***@***.***>; Author ***@***.***>
Subject: Re: [locustio/locust] Please format all report values to use ',' for thousands separator to make reading large values easier (Issue #3017)
Great, I am not familiar with this repository but it seems like a great way to familiarize myself with it , I will work on implementing it on my free time and will send here updates regarding how it looks .
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVMP2YUDJQS3S3ZOAED2SRWRLAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJUG4ZDGMBZGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
[OriShalhon]OriShalhon left a comment (locustio/locust#3017)<#3017 (comment)>
Great, I am not familiar with this repository but it seems like a great way to familiarize myself with it , I will work on implementing it on my free time and will send here updates regarding how it looks .
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVMP2YUDJQS3S3ZOAED2SRWRLAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJUG4ZDGMBZGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I'm not exactly sure if I correctly understand this - we are talking about for example, 'count' of iterations so a number like 958463215 You know guys that in Europe we use ',' also for decimal separator and some people are used to it. So 10,598 for me would mean 10.598 - for "count" that doesn't make sense and it could cause confusion. I'm not really convinced by that change at all. This also might break plenty of CSV formatters. If this were to be implemented, the best would be to use more neutral space as a separator, so the large number would become 958 463 215 - still, the same thing, remember about CSV formatting. @cyberw what do you think about it? |
I would suggest following Python standards and using underscore as separator: |
Where? On web page showing stats and command line output? That doesn't make any sense to me. If such feature would be implemented it shouldn't be python related at all - look at Gatling, k6, JMeter. Just because tool is written in Python it doesn't determine that stats shown in UI should follow some pep standard. |
I am talking about output to the screen. Any report that is output to the screen. So in the webUI or the the console when headless = True, the output would format the values using correct number formatting for the local. So for EN_US a comma would be used for 100,000,000,000. Often times there are billions of requests made. Formatting the values based on the local is appropriate for any screen output. local formatting isn't necessary for csv reports. Any spreadsheet program can format the values for the user after importing.
…--Clint Hart
________________________________
From: d.jeziorski ***@***.***>
Sent: Saturday, April 26, 2025 4:41 PM
To: locustio/locust ***@***.***>
Cc: Clint Hart ***@***.***>; Author ***@***.***>
Subject: Re: [locustio/locust] Please format all report values to use ',' for thousands separator to make reading large values easier (Issue #3017)
[https://avatars.githubusercontent.com/u/2431071?s=20&v=4]domik82 left a comment (locustio/locust#3017)<#3017 (comment)>
Where? On web page showing stats and command line output? That doesn't make any sense to me.
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVNMRGFZ6J2UZQ3QEZL23PVNZAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZSGYYDGNZWG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You know that often people in Europe work for US companies so the nodes might configured by default with US locale, so it's really not that simple as using local. I would honestly look at it as optional feature and leave current formatting as default one. Then you could change it by additional parameter passed during execution. |
Why not add it as an option for the locust.conf file?
…________________________________
From: d.jeziorski ***@***.***>
Sent: Monday, April 28, 2025 12:37 PM
To: locustio/locust ***@***.***>
Cc: Clint Hart ***@***.***>; Author ***@***.***>
Subject: Re: [locustio/locust] Please format all report values to use ',' for thousands separator to make reading large values easier (Issue #3017)
[https://avatars.githubusercontent.com/u/2431071?s=20&v=4]domik82 left a comment (locustio/locust#3017)<#3017 (comment)>
You know that often people in Europe work for US companies so the nodes might configured by default with US locale, so it's really not that simple as using local.
I would honestly look at it as optional feature and leave current formatting as default one. Then you could change it by additional parameter passed during execution.
—
Reply to this email directly, view it on GitHub<#3017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEHZVIYCW5Y7XZPZ5UFYYD23ZKLJAVCNFSM6AAAAABUMMO55GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZVHA2DCOJZG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Prerequisites
Description
Long running Locust.io load tests produce extremely large values. Please format the values displayed in the reports with correct formatting with commas in the thousands separator. Update both the terminal summary an the webUI reports. Any value that is displayed to a user would make reading the reports much easier.
The text was updated successfully, but these errors were encountered: